Push Method

Task Parallel System.Threading

Inserts an object at the top of the ConcurrentStack<(Of <(T>)>).

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub Push ( _
	item As T _
)
C#
public void Push(
	T item
)

Parameters

item
Type: T
The object to push onto the ConcurrentStack<(Of <(T>)>). The value can be a null reference (Nothing in Visual Basic) for reference types.

See Also